package com.shiro_02.serivce.impl;

import com.shiro_02.dao.UserDao;
import com.shiro_02.pojo.User;
import com.shiro_02.serivce.UserSerivce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserSerivceimpl implements UserSerivce {
 @Autowired
    private UserDao userDao;

    @Override
    public User findUser(User user) {
        return userDao.findUser(user);
    }
}
